<template>
	<view class="commonList">
		<image :src="item.imgUrl" mode="widthFix"></image>
		<view class="p-2 pt-1">
			<view class="font-md">{{item.title}}</view>
			<text class="font text-light-muted d-block">{{item.commonInfo}}</text>
			<view class="d-flex my-1">
					<price>{{item.nprice}}</price>
					<text class="font-sm text-light-muted line-through a-self-end ml-2 line-h">¥{{item.oprice}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	import price from './price.vue'
	export default {
		components:{
			price
		},
		props:{
			item:{
				type:Object,
				default:()=>{}
			}
		}
	}
</script>

<style>
</style>
